package com.itheima.pinda.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pinda.DTO.angency.FleetDto;
import com.itheima.pinda.common.utils.PageResponse;
import com.itheima.pinda.entity.agency.PdFleet;

import java.util.List;

public interface PdFleetService extends IService<PdFleet> {


    FleetDto saveAgencyType(FleetDto dto);


    PageResponse<FleetDto> findByPage(Integer page,
                                      Integer pageSize,
                                      String name,
                                      String fleetNumber,
                                      String manager);

    List<FleetDto> findAll(List<String> ids, String agencyId);

    FleetDto updateFleet(String id, FleetDto dto);
}
